import axios from '@/axios'


/*
*acd管理
*/
export const acdgroup = data => (
  axios({
    url: '/acdgroup',
    data,
    method: 'post'
  })
)

export const getAcd = data => (
  axios({
    url: '/acd/' + data,
    method: 'get'
  })
)

//权限组
export const rightgroup = data => (
  axios({
    url: '/rightgroup',
    data,
    method: 'post'
  })
)

//4.7.12.6	查询功能模块
export const rightmodule = data => (
  axios({
    url: '/rightmodule',
    data,
    method: 'post'
  })
)
//4.7.12.7	查询关联组
export const rightgrouprelation = data => (
  axios({
    url: '/rightgrouprelation',
    data,
    method: 'post'
  })
)

/*
*黑名单管理
*/
export const blacklist = data => (
  axios({
    url: '/blacklist',
    data,
    method: 'post'
  })
)

//定时广播 timingbroadcast
export const timingbroadcast = data => (
  axios({
    url: '/timingbroadcast',
    data,
    method: 'post'
  })
)


export const timingbroadcastget = data => (
  axios({
    url: '/timingbroadcast/' + data,
    method: 'DELETE'
  })
)
